ID=input("请输入id：")
EMAIL=input("请输入email地址：")
id=input("请输入您的身份证号码：")
Name=input("请输入您的姓名：")
def is_user_id(ID):
    if len(ID)>8:
        print("id长度不能超过8位")
    for i in range(len(ID)):
        if (ID[i].isalnum() or ID[i]=='_'):
            print()
        else:
            print("id只能由数字、字母、下划线组成")
def is_user_emaii(EMAIL):
    if EMAIL.count('.')>0 and EMAIL.count('@')>0:
        print()
    else:
        print("email不符合基本格式")
def is_user_id(id):
    if len(id)==18:
        print()
    else:
        print("身份证不符合基本格式")
def is_user_name(Name):
    if len(Name)>4:
        print('长度不能超过4位')
        return False
    for c in Name:
        if not ('\u4e00' <= c <= '\u9fa5'):
            return False
    print('姓名输入符合格式')
    return True
